package com.example.botechotext.dto;

import java.util.List;

public class MessageRequest {
    private String bot_id;
    private String user_id;
    private boolean stream;
    private boolean auto_save_history;
    private List<AdditionalMessage> additional_messages;

    // 构造函数
    public MessageRequest(String bot_id, String user_id, boolean stream, boolean auto_save_history, List<AdditionalMessage> additional_messages) {
        this.bot_id = bot_id;
        this.user_id = user_id;
        this.stream = stream;
        this.auto_save_history = auto_save_history;
        this.additional_messages = additional_messages;
    }

    // Getter 和 Setter 方法
    public String getBot_id() {
        return bot_id;
    }

    public void setBot_id(String bot_id) {
        this.bot_id = bot_id;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public boolean isStream() {
        return stream;
    }

    public void setStream(boolean stream) {
        this.stream = stream;
    }

    public boolean isAuto_save_history() {
        return auto_save_history;
    }

    public void setAuto_save_history(boolean auto_save_history) {
        this.auto_save_history = auto_save_history;
    }

    public List<AdditionalMessage> getAdditional_messages() {
        return additional_messages;
    }

    public void setAdditional_messages(List<AdditionalMessage> additional_messages) {
        this.additional_messages = additional_messages;
    }
}

// 内嵌的 AdditionalMessage 类

